package com.qf.pojo;
/**
 * @author ZERO
 * @date 2021/12/24 10:08
 */

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
import java.util.List;

/**
 *@program: com.qf.pojo
 *@description: 实体类
 *@author: ZERO
 *@create: 2021/12/24 10:08
 */
@Data
@Document(indexName = "movies")
public class Movie implements Serializable {
    private String id;
    private String title;
    private Long year;
    private List<String> genre;
}
